﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using netDxf.Entities;

namespace CPlatePrintSys.Annotation.Models
{
    /// <summary>
    /// 分层实体列表的类。
    /// </summary>
    public class LayeredEntityList
    {
        /// <summary>
        /// 图层名称
        /// </summary>
        public string LayerName { get; set; }

        /// <summary>
        /// 该图层下的所有实体对象列表。
        /// </summary>
        public List<EntityObject> LayeredEntities { get; set; }

        public LayeredEntityList() { }

        public LayeredEntityList(string layerName, List<EntityObject> entities)
        {
            LayerName = layerName;
            LayeredEntities = new List<EntityObject>(entities);
        }
    }
}
